package test.factories;

import dominio.Cost;
import dominio.Node;
import dominio.Nodes;

import java.util.ArrayList;

/**
 * Created by Rafael Simon Garcia on 11/17/13.
 */


public class NodesFactory {

    public static Nodes Create(int id, int amountOfNodeElements){
        return new Nodes(id, ("Random Tasklist " + id), ("Random Description for Tasklist " + id), NodeListFactory.Create(amountOfNodeElements));
    }

    public static Nodes Create(int id, int amountOfNodeElements, ArrayList<Cost> taskListCosts){
        return new Nodes(id, ("Random Tasklist " + id), ("Random Description for Tasklist " + id), NodeListFactory.Create(amountOfNodeElements), taskListCosts);
    }

}
